import request, {createApi} from "@/soar/utils/request";

export const basePath = '/message/notice';
export const subject = '消息通知';
const api = createApi(basePath, subject);

export default {
    ...api,
    updateRead: (ids: string[]) => request.post(`${basePath}/update-read`, { data: ids }),
};